package zhieasy.cn.model.found;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @author Wangzeya
 * @create 2020/8/1 9:31
 * 查询失物招领列表Bean
 */
@Data
@TableName("found_list_page")
public class ListPage{
    /**
     * 当前第几页
     */
    @TableId
    @ApiModelProperty("当前第几页")
    private int pageIndex;
    /**
     * 每页几条
     */
    @ApiModelProperty("每页几条")
    private int pageSize;
    /**
     *  0/1  丢失0招领1
     */
    @ApiModelProperty("失物招领类型")
    private int lafType;
    /**
     * 物品的id
     */
    @ApiModelProperty("物品的id")
    private int  lafCtgId;
    /**
     * openId {@link zhieasy.cn.model.common.WechatUser}
     */
    @ApiModelProperty("openId")
    private String openId;
    /**
     * 物品名称
     */
    @ApiModelProperty("物品名称")
    private String lafName;
    /**
     * 设置默认值
     */
    public ListPage() {
        this.pageIndex = 1;
        this.pageSize = 6;
        this.lafType = 1;
        this.lafCtgId = 0;
    }


}

